package com.turing.sensivitycode.mapper;

import com.turing.sensivitycode.domain.SensivityCode;
import com.turing.sensivitycode.domain.SensivityCodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SensivityCodeMapper {
    long countByExample(SensivityCodeExample example);

    int deleteByExample(SensivityCodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SensivityCode record);

    int insertSelective(SensivityCode record);

    List<SensivityCode> selectByExample(SensivityCodeExample example);

    SensivityCode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SensivityCode record, @Param("example") SensivityCodeExample example);

    int updateByExample(@Param("record") SensivityCode record, @Param("example") SensivityCodeExample example);

    int updateByPrimaryKeySelective(SensivityCode record);

    int updateByPrimaryKey(SensivityCode record);
}